package com.glp.work.flow.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/** 
* 分页公共
* @author  pengjia 
* @version 2020年5月26日 上午10:51:10 
*/
@Data
public class PageInfoResponse<T> implements Serializable{

	private static final long serialVersionUID = 2824539865528760382L;
    @ApiModelProperty(value = "总记录数")
    private long total;

    @ApiModelProperty(value = "当前页")
    private int pageNum;

    @ApiModelProperty(value = "每页的数量")
    private int pageSize;

    @ApiModelProperty(value = "页数")
    private int size;

    @ApiModelProperty(value = "结果集")
	private List<T> list = new ArrayList<>();
	
}
